import Sitemap from 'vite-plugin-sitemap'

export default {
    lang: 'zh-CN',
    title: 'GitHub CLI 中文手册',
    description: 'GitHub CLI 中文手册',
    base: "/github-cli-manual-zh/",
    lastUpdated: true,
    plugins: [
        Sitemap(),
    ],
    themeConfig: {
        nav: [
            { text: '首页', link: '/index' },
            { text: 'GitHub CLI', link: 'https://cli.github.com/' }
        ],
        socialLinks: [
            { icon: 'github', link: 'https://github.com/ZhangZhanhaoxiang/github-cli-manual-zh' },
            { icon: 'twitter', link: 'https://twitter.com/ZH2219658023' }
        ],
        outlineTitle: '这一页',
        lastUpdatedText: '最后更新',
        docFooter: {
            prev: '上一页',
            next: '下一页'
        },
        editLink: {
            pattern: 'https://github.com/ZhangZhanhaoxiang/github-cli-manual-zh/edit/main/docs/:path',
            text: '在 GitHub 上编辑此页'
        },
        footer: {
            message: 'Released under the MIT License.',
            copyright: 'Copyright © 2023 Zhang Zhanhaoxiang'
        },
        sidebar: [
            { text: "gh", link: "/gh" },
            { text: "gh alias", link: "/gh_alias" },
            { text: "gh alias delete", link: "/gh_alias_delete" },
            { text: "gh alias list", link: "/gh_alias_list" },
            { text: "gh alias set", link: "/gh_alias_set" },
            { text: "gh api", link: "/gh_api" },
            { text: "gh auth", link: "/gh_auth" },
            { text: "gh auth login", link: "/gh_auth_login" },
            { text: "gh auth logout", link: "/gh_auth_logout" },
            { text: "gh auth refresh", link: "/gh_auth_refresh" },
            { text: "gh auth setup-git", link: "/gh_auth_setup-git" },
            { text: "gh auth status", link: "/gh_auth_status" },
            { text: "gh auth token", link: "/gh_auth_token" },
            { text: "gh browse", link: "/gh_browse" },
            { text: "gh codespace", link: "/gh_codespace" },
            { text: "gh codespace code", link: "/gh_codespace_code" },
            { text: "gh codespace cp", link: "/gh_codespace_cp" },
            { text: "gh codespace create", link: "/gh_codespace_create" },
            { text: "gh codespace delete", link: "/gh_codespace_delete" },
            { text: "gh codespace edit", link: "/gh_codespace_edit" },
            { text: "gh codespace jupyter", link: "/gh_codespace_jupyter" },
            { text: "gh codespace list", link: "/gh_codespace_list" },
            { text: "gh codespace logs", link: "/gh_codespace_logs" },
            { text: "gh codespace ports", link: "/gh_codespace_ports" },
            { text: "gh codespace ports forward", link: "/gh_codespace_ports_forward" },
            { text: "gh codespace ports visibility", link: "/gh_codespace_ports_visibility" },
            { text: "gh codespace rebuild", link: "/gh_codespace_rebuild" },
            { text: "gh codespace ssh", link: "/gh_codespace_ssh" },
            { text: "gh codespace stop", link: "/gh_codespace_stop" },
            { text: "gh completion", link: "/gh_completion" },
            { text: "gh config", link: "/gh_config" },
            { text: "gh config get", link: "/gh_config_get" },
            { text: "gh config list", link: "/gh_config_list" },
            { text: "gh config set", link: "/gh_config_set" },
            { text: "gh extension", link: "/gh_extension" },
            { text: "gh extension browse", link: "/gh_extension_browse" },
            { text: "gh extension create", link: "/gh_extension_create" },
            { text: "gh extension exec", link: "/gh_extension_exec" },
            { text: "gh extension install", link: "/gh_extension_install" },
            { text: "gh extension list", link: "/gh_extension_list" },
            { text: "gh extension remove", link: "/gh_extension_remove" },
            { text: "gh extension search", link: "/gh_extension_search" },
            { text: "gh extension upgrade", link: "/gh_extension_upgrade" },
            { text: "gh gist", link: "/gh_gist" },
            { text: "gh gist clone", link: "/gh_gist_clone" },
            { text: "gh gist create", link: "/gh_gist_create" },
            { text: "gh gist delete", link: "/gh_gist_delete" },
            { text: "gh gist edit", link: "/gh_gist_edit" },
            { text: "gh gist list", link: "/gh_gist_list" },
            { text: "gh gist view", link: "/gh_gist_view" },
            { text: "gh gpg-key", link: "/gh_gpg-key" },
            { text: "gh gpg-key add", link: "/gh_gpg-key_add" },
            { text: "gh gpg-key delete", link: "/gh_gpg-key_delete" },
            { text: "gh gpg-key list", link: "/gh_gpg-key_list" },
            { text: "gh help", link: "/gh_help" },
            { text: "gh help environment", link: "/gh_help_environment" },
            { text: "gh help exit-codes", link: "/gh_help_exit-codes" },
            { text: "gh help formatting", link: "/gh_help_formatting" },
            { text: "gh help mintty", link: "/gh_help_mintty" },
            { text: "gh issue", link: "/gh_issue" },
            { text: "gh issue close", link: "/gh_issue_close" },
            { text: "gh issue comment", link: "/gh_issue_comment" },
            { text: "gh issue create", link: "/gh_issue_create" },
            { text: "gh issue delete", link: "/gh_issue_delete" },
            { text: "gh issue develop", link: "/gh_issue_develop" },
            { text: "gh issue edit", link: "/gh_issue_edit" },
            { text: "gh issue list", link: "/gh_issue_list" },
            { text: "gh issue lock", link: "/gh_issue_lock" },
            { text: "gh issue pin", link: "/gh_issue_pin" },
            { text: "gh issue reopen", link: "/gh_issue_reopen" },
            { text: "gh issue status", link: "/gh_issue_status" },
            { text: "gh issue transfer", link: "/gh_issue_transfer" },
            { text: "gh issue unlock", link: "/gh_issue_unlock" },
            { text: "gh issue unpin", link: "/gh_issue_unpin" },
            { text: "gh issue view", link: "/gh_issue_view" },
            { text: "gh label", link: "/gh_label" },
            { text: "gh label clone", link: "/gh_label_clone" },
            { text: "gh label create", link: "/gh_label_create" },
            { text: "gh label delete", link: "/gh_label_delete" },
            { text: "gh label edit", link: "/gh_label_edit" },
            { text: "gh label list", link: "/gh_label_list" },
            { text: "gh pr", link: "/gh_pr" },
            { text: "gh pr checkout", link: "/gh_pr_checkout" },
            { text: "gh pr checks", link: "/gh_pr_checks" },
            { text: "gh pr close", link: "/gh_pr_close" },
            { text: "gh pr comment", link: "/gh_pr_comment" },
            { text: "gh pr create", link: "/gh_pr_create" },
            { text: "gh pr diff", link: "/gh_pr_diff" },
            { text: "gh pr edit", link: "/gh_pr_edit" },
            { text: "gh pr list", link: "/gh_pr_list" },
            { text: "gh pr lock", link: "/gh_pr_lock" },
            { text: "gh pr merge", link: "/gh_pr_merge" },
            { text: "gh pr ready", link: "/gh_pr_ready" },
            { text: "gh pr reopen", link: "/gh_pr_reopen" },
            { text: "gh pr review", link: "/gh_pr_review" },
            { text: "gh pr status", link: "/gh_pr_status" },
            { text: "gh pr unlock", link: "/gh_pr_unlock" },
            { text: "gh pr view", link: "/gh_pr_view" },
            { text: "gh release", link: "/gh_release" },
            { text: "gh release create", link: "/gh_release_create" },
            { text: "gh release delete-asset", link: "/gh_release_delete-asset" },
            { text: "gh release delete", link: "/gh_release_delete" },
            { text: "gh release download", link: "/gh_release_download" },
            { text: "gh release edit", link: "/gh_release_edit" },
            { text: "gh release list", link: "/gh_release_list" },
            { text: "gh release upload", link: "/gh_release_upload" },
            { text: "gh release view", link: "/gh_release_view" },
            { text: "gh repo", link: "/gh_repo" },
            { text: "gh repo archive", link: "/gh_repo_archive" },
            { text: "gh repo clone", link: "/gh_repo_clone" },
            { text: "gh repo create", link: "/gh_repo_create" },
            { text: "gh repo delete", link: "/gh_repo_delete" },
            { text: "gh repo deploy-key", link: "/gh_repo_deploy-key" },
            { text: "gh repo deploy-key add", link: "/gh_repo_deploy-key_add" },
            { text: "gh repo deploy-key delete", link: "/gh_repo_deploy-key_delete" },
            { text: "gh repo deploy-key list", link: "/gh_repo_deploy-key_list" },
            { text: "gh repo edit", link: "/gh_repo_edit" },
            { text: "gh repo fork", link: "/gh_repo_fork" },
            { text: "gh repo list", link: "/gh_repo_list" },
            { text: "gh repo rename", link: "/gh_repo_rename" },
            { text: "gh repo set-default", link: "/gh_repo_set-default" },
            { text: "gh repo sync", link: "/gh_repo_sync" },
            { text: "gh repo view", link: "/gh_repo_view" },
            { text: "gh run", link: "/gh_run" },
            { text: "gh run cancel", link: "/gh_run_cancel" },
            { text: "gh run download", link: "/gh_run_download" },
            { text: "gh run list", link: "/gh_run_list" },
            { text: "gh run rerun", link: "/gh_run_rerun" },
            { text: "gh run view", link: "/gh_run_view" },
            { text: "gh run watch", link: "/gh_run_watch" },
            { text: "gh search", link: "/gh_search" },
            { text: "gh search commits", link: "/gh_search_commits" },
            { text: "gh search issues", link: "/gh_search_issues" },
            { text: "gh search prs", link: "/gh_search_prs" },
            { text: "gh search repos", link: "/gh_search_repos" },
            { text: "gh secret", link: "/gh_secret" },
            { text: "gh secret delete", link: "/gh_secret_delete" },
            { text: "gh secret list", link: "/gh_secret_list" },
            { text: "gh secret set", link: "/gh_secret_set" },
            { text: "gh ssh-key", link: "/gh_ssh-key" },
            { text: "gh ssh-key add", link: "/gh_ssh-key_add" },
            { text: "gh ssh-key delete", link: "/gh_ssh-key_delete" },
            { text: "gh ssh-key list", link: "/gh_ssh-key_list" },
            { text: "gh status", link: "/gh_status" },
            { text: "gh workflow", link: "/gh_workflow" },
            { text: "gh workflow disable", link: "/gh_workflow_disable" },
            { text: "gh workflow enable", link: "/gh_workflow_enable" },
            { text: "gh workflow list", link: "/gh_workflow_list" },
            { text: "gh workflow run", link: "/gh_workflow_run" },
            { text: "gh workflow view", link: "/gh_workflow_view" }
        ]
    }
}

